(ps-generate-postscript-with-faces): If the face specified by the overlay's
authorEli Zaretskii <eliz@gnu.org>
Wed, 2 Apr 2008 17:51:01 +0000 (17:51 +0000)
committerEli Zaretskii <eliz@gnu.org>
Wed, 2 Apr 2008 17:51:01 +0000 (17:51 +0000)
`face' property is a string, assume it's a string name and intern it to get
the face symbol.

lisp/ps-print.el

index 4ee58a8ce2976cac73ffd9d2361e9d0b6ab53236..73fa3bb2a257b53ff257280fc2d7866b06221d3c 100644 (file)
@@ -6676,7 +6676,11 @@ If FACE is not a valid face name, use default face."
                              ((ps-e-overlay-get overlay 'face))
                              (t face)
                              ))))
-               (setq overlays (cdr overlays))))
+               (setq overlays (cdr overlays)))
+             ;; Ediff refinement overlays specify faces by name, as a
+             ;; string, not as symbols.
+             (if (stringp face)
+                 (setq face (intern face))))
            ;; Plot up to this record.
            (and before-string
                 (ps-plot-string before-string))